import { createContext } from "react"

// 创建跨多级组件通信的context 对象
const { Provider, Consumer } = createContext()

export { Provider, Consumer }